package com.haierp.service;

import java.util.List;

import com.baomidou.framework.service.ISuperService;
import com.haierp.dto.TaskDailyDTO;
import com.haierp.model.TaskDaily;
import com.haierp.util.JsonPageResult;
import com.haierp.vo.PurchaseQueryVO;
import com.haierp.vo.TaskDailyVO;

public interface ITaskDailyService extends ISuperService<TaskDaily>{

	
	Integer queryTaskCount(TaskDailyDTO taskDailyDTO);
	
	List<TaskDailyVO> queryTaskDaily(TaskDailyDTO taskDailyDTO);
	/**
	 * 新增采购单
	 * @param taskDaily
	 */
	void addTaskDaily(TaskDaily taskDaily);
	
	TaskDaily query(Long id);
	
	/**
	 * 修改采购单
	 * @param taskDaily
	 */
	void updateTaskDaily(TaskDaily taskDaily);
	
	/**
	 * 按照条件分页查询采购任务
	 * @param itemQueryVO
	 * @return
	 */
	JsonPageResult<List<TaskDaily>> queryTaskDailyList(PurchaseQueryVO purchaseQueryVO);

	void deleteTaskDailyById(Long id);

	void closeTaskDaily(List<Long> taskDailyIdList);

	void finishTaskDaily(List<Long> taskDailyIdList);

	void autoCloseTaskDaily();
}
